<!-- inclure l'entete de la page -->
<%@ include file="../outils/adminentete.jspf" %>

<div class="titre">
	<img src="<b:config attribut="urlApplication"/>images/application/questionadmin.png" border="0" align="absmiddle"/>
	&nbsp;<b>Ajout d'une nouvelle question</b>
</div>

<form action="<b:config attribut="urlApplication"/>administrationQuestions?action=validerajout" method="POST">
	<table border="0" id="tableau" cellspacing="5">
		<tr>
			<td>Sous-axe : </td>
			<td>
				<select class="input" id="ssaxe" name="ssaxe">
					<c:forEach var="ssaxeQuestion" begin="0" items="${ssaxes}">
						<option value="<c:out value="${ssaxeQuestion.id}"/>" <c:if test="${ssaxe == ssaxeQuestion.id}">selected='selected'</c:if> ><c:out value="${ssaxeQuestion.nom}"/></option>
					</c:forEach>
				</select>
			</td>
		</tr>
		<tr>
			<td>Nom : </td>
			<td>
				<input class="input" type="text" id="nom" name="nom" value="<c:out value="${nom}"/>" />
			</td>
		</tr>
		<tr>
			<td valign="top">Description : </td>
			<td>
				<textarea class="textarea" id="description" name="description"><c:out value="${description}"/></textarea>
			</td>
		</tr>
		<tr>
			<td>Coefficient : </td>
			<td><input class="inputpetit" type="text" id="coefficient" name="coefficient" value="<c:out value="${coefficient}"/>" /></td>
		</tr>
		<tr>
			<td>Etat :</td>
			<td>
				<select class="inputpetit" id="etat" name="etat">
					<option value="1" <c:if test="${etat == '1' }">selected='selected'</c:if> >actif</option>
					<option value="0" <c:if test="${etat == '0' }">selected='selected'</c:if> >inactif</option>
				</select>
			<td>
		</tr>
	</table>
</form>

<%@ include file="../outils/adminpiedpage.jspf" %>